﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Admin_Index" MasterPageFile="~/Admin/Admin.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        div.button
        {
            text-align: center;
            margin: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:Panel ID="panelScan" runat="server">
        <div style="text-align: center;">
            <h1>Check Package</h1>
            <asp:Label ID="Label1" runat="server" Text="Receipt Number:"></asp:Label>
            <asp:TextBox ID="txtBarcode" runat="server" AutoPostBack="True" Width="496px" OnTextChanged="txtBarcode_TextChanged"></asp:TextBox>
            <br />
            <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="false">No Record Found</asp:Label>
            <br />
            <asp:Button ID="btnCheck" runat="server" Text="Check Package" OnClick="btnCheck_Click" />
        </div>
    </asp:Panel>
    <hr />

    <div style="text-align: center; width: 100%; padding-left: 50px; padding-top: 30px;">
        <div style="float: left;" class="button">
            <img src="../image/confirm.png" alt="" />
            <br />
            <asp:Button ID="btnConfirmPackage" SkinID="LargeButton" runat="server" Text="Confirm Package" OnClick="btnConfirmPackage_Click" />
        </div>

        <div style="float: left;" class="button">
            <img src="../image/transit.png" alt="" />
            <br />
            <asp:Button ID="Button1" SkinID="LargeButton" runat="server" Text="Update Transit" OnClick="Button1_Click" />
        </div>


        <div style="float: left;" class="button">
            <img src="../image/complete.png" alt="" />
            <br />
            <asp:Button ID="Button2" SkinID="LargeButton" runat="server" Text="Complete Transit" OnClick="Button2_Click" />
        </div>

        <div style="float: left;" class="button">
            <img src="../image/manage_package.png" alt="" />
            <br />
            <asp:Button ID="btnPackage" runat="server" Text="Manage Package" SkinID="LargeButton" OnClick="btnPackage_Click" />
        </div>





    </div>
</asp:Content>
